/*********************************************************************
* File: Koopa.h
* Create Koopa
* Author: 10520418 Bui Huu Hiep
**********************************************************************/
#pragma once
#ifndef _KOOPA_H
#define _KOOPA_H

#include "GameObject.h"

// set lai
#define KOOPA_VX 80
#define KOOPA_VY 700


/********************************************
* Koopa
* Inheritance form class Obj
* Create Koopa
********************************************/
class Koopa : public GameObject
{
private:
	Sprite*		_spriteGo;
	Sprite*		_spriteSleep;
public:
	Koopa(float posX, float posY, float width, float height, Resources* res, int number, int depth);
	~Koopa(void);

	void Update(float time, QNode* &Tree);
	void Render(LPD3DXSPRITE spriteHandler, Viewport* viewport);
	void ChangeState(char state);

	void UpdateAnimation(float time);
	void Move(float time, vector<GameObject*> listObj);
};
#endif

